projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
037cbc7
)
x86 p2m: Reinstate || errneously removed by 22924:86000076dcee
author
Keir Fraser
<keir@xen.org>
Wed, 16 Feb 2011 16:20:36 +0000
(16:20 +0000)
committer
Keir Fraser
<keir@xen.org>
Wed, 16 Feb 2011 16:20:36 +0000
(16:20 +0000)
Fixes x86_32 build.
Signed-off-by: Keir Fraser <keir@xen.org>
xen/arch/x86/mm/p2m.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/p2m.c
b/xen/arch/x86/mm/p2m.c
index ed16b1551fd61a7b2901652ce35536df34794123..a8c0d6cb8a100dfd211a5b910d7b2798ab0f5d1f 100644
(file)
--- a/
xen/arch/x86/mm/p2m.c
+++ b/
xen/arch/x86/mm/p2m.c
@@
-2313,7
+2313,7
@@
static int gfn_check_limit(
* hardware translation limit. This limitation is checked by comparing
* gfn with 0xfffffUL.
*/
- if ( !hap_enabled(d) || ((gfn + (1ul << order)) <= 0x100000UL)
+ if ( !hap_enabled(d) || ((gfn + (1ul << order)) <= 0x100000UL)
||
(boot_cpu_data.x86_vendor != X86_VENDOR_AMD) )
return 0;